<?php

namespace app\common\model;

use think\Model;
use think\model\concern\SoftDelete;

class Withdraw extends Model
{

    //json字段
    protected $json = ['bank'];
    //json数组字段转换为数组
    protected $jsonAssoc = true;


    //关联代理表
    public function user()
    {
       
        return $this->belongsTo('User', 'user_id', 'id');
    }

}